/* 基准：1920px宽度下字体30px */
:root {
  /* 计算屏幕宽度与1920的比例，乘以基准字体30px */
  --base-font-size: calc(30px * (100vw / 1920));

  --small-font-size: calc(18px * (100vw / 1920));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-image: url('../img/bg.png');
    /* 图片百分比占满 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* 可选：背景固定，不随滚动移动 */
}

/* 主体 */
.wrapper {
    position: relative;
}

/* 头部 */
.header {
    position: relative;
    width: 100%;
    height: 9.8%;
    text-align: center;
}

.header img {
    height: 100%;
}

/* 主体部分 */
.main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 1%;
}

/* 布局容器 */
.main>.main-top {
    position: relative;
    height: 12%;
}

.main>.middle {
    height: 47%;
    outline: 1px solid red;
}

.main>.bottom {
    height: 41%;
    outline: 1px solid yellow;
}

/* 头部 */
.main-top>.logo-con {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 48%;
    font-family: PingFang-SC-Bold;
}

.main-top>.logo-con>img {
    height: 100%;
}

.main-top>.logo-con>.title {
    font-family: PingFang-SC, PingFang-SC;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: #FFFFFF;
    line-height: 24px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 主体按钮区域 */
.btn-main{
    width: 100%;
    height: 100%;
    padding: 0 1%;
    padding-top: 1%;
    outline: 1px solid #fff;
}

.btn-main > .btn-top{
    height: 35%;
    display: flex;
    gap: 26px;
}

.menu-item{
    position: relative;
    height: 100%;
}

.menu-item > img{
    height: 100%;
}

.menu-item > .title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-family: PingFang-SC, PingFang-SC;
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0px 0px 4px #13D2FF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}